package com.achievement.mapper;

import com.achievement.domain.entity.ReportEntity;
import com.achievement.domain.param.ReportParam;
import com.achievement.domain.vo.ReportVO;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

/**
* @author CNKI
* @description 针对表【biz_research_report(科研成果-研究报告列表)】的数据库操作Mapper
* @createDate 2025-02-25 15:58:14
* @Entity generator.domain.BizResearchReport
*/
public interface ReportMapper extends BaseMapper<ReportEntity> {

    List<ReportVO> getList(@Param(value = "param")ReportParam param, @Param(Constants.WRAPPER) Wrapper<ReportEntity> queryWrapper);

    List<ReportVO> getListByConditions(@Param(value = "param")ReportParam param,@Param(Constants.WRAPPER) Wrapper<ReportEntity> queryWrapper);

    List<HashMap<String, Integer>> listStatistics(@Param(value = "param") ReportParam param,
                                                  @Param(Constants.WRAPPER) LambdaQueryWrapper<ReportEntity> queryWrapper);
}




